<template>
  <!-- 公益捐款 --- 请自行添加唯一类名和name -->
  <vx-transfer
    :payerName="payer.beneficiaryName"
    :payerNum="payer.collAcNum"
    :payerBankName="payer.bankDeposit"
    :payerMoney="payer.amount"
    :payerService="payer.serviceCharge"
    :payee="payer.payerAcName"
    :payeeNum="payer.accountPayment"
    :payeeBankName="payer.deptSetName"
  >
    <div class="res-info">
      <p>
        汇款类型:
        <span class="res-info-text">{{ $msg('remitTypeDict')[payer.exportType] }}</span>
      </p>
    </div>
  </vx-transfer>
</template>
<script>
export default {
  name: '',
  props: {
    // 交易信息
    obj: {
      type: Object,
      default: null,
      required: true,
    },
  },
  data() {
    return {
      payer: {},
    };
  },
  watch: {
    obj: {
      handler(newVal) {
        this.payer = newVal;
      },
      immediate: true,
    },
  },
};
</script>
<style lang="scss"></style>
